// 倒计时应用样式
.countdown-app {
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 15px 10px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: white;
  box-sizing: border-box;
}

.countdown-display {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
  flex: 1;
  gap: 20px;
  min-height: 0;
  flex-wrap: wrap;
}

.countdown-unit {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.countdown-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.countdown-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.target-date-info {
  text-align: center;
  margin: 15px 0;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}

.target-date-info.clickable {
  cursor: pointer;
}

.target-date-info.clickable:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.target-date-label {
  font-weight: 500;
  margin-right: 8px;
}

.target-date-value {
  font-weight: 600;
  color: white;
}

.click-hint {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin-left: 8px;
}

.action-buttons {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 12px 0;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.action-buttons .el-button {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  backdrop-filter: blur(10px);
  border-radius: 25px;
  padding: 10px 20px;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.action-buttons .el-button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* 现代化日期选择器弹窗样式 */
.date-picker-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-out;
  overflow: hidden;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1);
  z-index: 2001;
  min-width: 400px;
  max-width: 98vw;
  max-height: 90vh;
  overflow: hidden;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.3s ease-out;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.modal-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c3e50;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modal-close {
  background: none;
  border: none;
  padding: 8px;
  border-radius: 12px;
  cursor: pointer;
  color: #64748b;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #334155;
  transform: scale(1.1);
}

.modal-body {
  padding: 24px 28px;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 0;
}

.calendar-section {
  margin-bottom: 20px;
}

.calendar-container {
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  overflow: hidden;
}

.modal-calendar {
  width: 100%;
}

.modal-calendar .el-calendar__header {
  padding: 12px 16px;
  background: #f8f9fa;
  border-bottom: 1px solid #e1e5e9;
}

.modal-calendar .el-calendar__title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.modal-calendar .el-calendar__button-group .el-button {
  font-size: 12px;
  padding: 4px 8px;
}

.modal-calendar .el-calendar__body {
  padding: 0;
}

.modal-calendar .el-calendar-day {
  padding: 4px;
  height: 40px;
}

.calendar-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.calendar-day {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.calendar-holiday {
  font-size: 10px;
  color: #ff4757;
  margin-top: 2px;
  line-height: 1;
}

.calendar-cell.is-selected {
  background: #409eff;
  color: white;
}

.calendar-cell.is-selected .calendar-day {
  color: white;
}

.calendar-cell.is-selected .calendar-holiday {
  color: #ffd700;
}

.calendar-cell:hover {
  background: #f0f9ff;
  cursor: pointer;
}

.input-label {
  display: block;
  margin-bottom: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #374151;
  letter-spacing: 0.025em;
}

/* 自定义日历样式 */
.calendar-section {
  margin-bottom: 24px;
}

.custom-calendar {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(102, 126, 234, 0.15);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.08));
  border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.year-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.year-text {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  min-width: 60px;
  text-align: center;
}

.year-button {
  background: rgba(102, 126, 234, 0.1);
  border: 1px solid rgba(102, 126, 234, 0.2);
  border-radius: 6px;
  padding: 4px;
  cursor: pointer;
  color: #667eea;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.year-button:hover {
  background: rgba(102, 126, 234, 0.2);
  transform: scale(1.05);
}

.year-button:active {
  transform: scale(0.95);
}

.month-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.calendar-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  min-width: 100px;
  text-align: center;
}

.calendar-nav-btn {
  background: rgba(102, 126, 234, 0.1);
  border: 1px solid rgba(102, 126, 234, 0.2);
  border-radius: 8px;
  padding: 6px;
  cursor: pointer;
  color: #667eea;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-nav-btn:hover {
  background: rgba(102, 126, 234, 0.2);
  transform: scale(1.05);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: rgba(102, 126, 234, 0.05);
  border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.weekday {
  padding: 12px 8px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.calendar-day {
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  font-weight: 500;
  color: #374151;
  border: 1px solid transparent;
  position: relative;
}

.calendar-day:hover {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
}

.calendar-day.is-other-month {
  color: #9ca3af;
  opacity: 0.5;
}

.calendar-day.is-today {
  background: rgba(34, 197, 94, 0.1);
  color: #059669;
  font-weight: 600;
}

.calendar-day.is-selected {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.calendar-day.is-selected:hover {
  background: linear-gradient(135deg, #5a67d8, #6b46c1);
  color: white;
}

/* 时间选择器样式 */
.time-section {
  margin-bottom: 24px;
}

.time-selectors {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(102, 126, 234, 0.15);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.time-input-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.time-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
}

.time-select {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(102, 126, 234, 0.2);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 60px;
  text-align: center;
}

.time-select:hover {
  border-color: rgba(102, 126, 234, 0.4);
  background: rgba(255, 255, 255, 1);
}

.time-select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.time-separator {
  font-size: 1.2rem;
  font-weight: 600;
  color: #64748b;
  margin: 0 4px;
}

/* 当前选择显示 */
.selected-datetime-display {
  margin-bottom: 24px;
}

.selected-datetime-input {
  position: relative;
  max-width: 100%;
  width: 100%;
  overflow: hidden;
  
  .datetime-input {
    width: 100%;
    max-width: 400px;
    min-width: 280px;
    margin: 0 auto;
    padding: 16px 20px 16px 50px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.08));
    border: 2px solid rgba(102, 126, 234, 0.25);
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    text-align: center;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 0.5px;
    box-sizing: border-box;
    
    &:focus {
      outline: none;
      border-color: #667eea;
      box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2), 0 8px 25px rgba(102, 126, 234, 0.25);
      transform: translateY(-2px) scale(1.02);
      background: linear-gradient(135deg, rgba(102, 126, 234, 0.12), rgba(118, 75, 162, 0.12));
    }
    
    &:hover {
      border-color: rgba(102, 126, 234, 0.4);
      box-shadow: 0 6px 20px rgba(102, 126, 234, 0.2);
      transform: translateY(-1px);
    }
    
    // 自定义日历图标样式
    &::-webkit-calendar-picker-indicator {
      background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23667eea" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>') no-repeat;
      background-size: 20px 20px;
      width: 20px;
      height: 20px;
      cursor: pointer;
      position: absolute;
      left: 16px;
      top: 50%;
      transform: translateY(-50%);
      opacity: 0.8;
      transition: all 0.2s ease;
    }
    
    &::-webkit-calendar-picker-indicator:hover {
      opacity: 1;
      transform: translateY(-50%) scale(1.1);
    }
    
    // 限制日历弹窗宽度
    &::-webkit-datetime-edit {
      max-width: 100%;
    }
    
    // 针对Webkit浏览器的日历弹窗样式
    &::-webkit-inner-spin-button,
    &::-webkit-outer-spin-button {
      -webkit-appearance: none;
      margin: 0;
    }
  }
  
  // 添加装饰性图标
  &::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23667eea" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>') no-repeat center;
    background-size: 18px 18px;
    opacity: 0.6;
    pointer-events: none;
    z-index: 1;
  }
  
  // 移动端响应式样式
  @media (max-width: 480px) {
    .datetime-input {
      max-width: calc(100vw - 60px);
      min-width: 250px;
      padding: 14px 16px 14px 45px;
      font-size: 14px;
      letter-spacing: 0.3px;
    }
    
    &::before {
      left: 12px;
      width: 18px;
      height: 18px;
      background-size: 16px 16px;
    }
  }
  
  @media (max-width: 320px) {
    .datetime-input {
      max-width: calc(100vw - 40px);
      min-width: 200px;
      padding: 12px 14px 12px 40px;
      font-size: 13px;
    }
    
    &::before {
      left: 10px;
      width: 16px;
      height: 16px;
      background-size: 14px 14px;
    }
  }
}

.quick-select-section {
  margin-bottom: 24px;
}

.quick-date-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.quick-btn {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.12), rgba(118, 75, 162, 0.12));
  border: 2px solid rgba(102, 126, 234, 0.25);
  border-radius: 16px;
  padding: 18px 24px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #374151;
  text-align: left;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.08);
  position: relative;
  overflow: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  letter-spacing: 0.3px;
}

.quick-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.5s ease;
}

.quick-btn:hover {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
  border-color: rgba(102, 126, 234, 0.4);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(102, 126, 234, 0.25);
}

.quick-btn:hover::before {
  left: 100%;
}

.quick-btn:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.2);
}

.quick-btn-icon {
  font-size: 1.2rem;
  opacity: 0.8;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  padding: 24px 28px;
  border-top: 1px solid rgba(102, 126, 234, 0.1);
  flex-shrink: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
  margin-top: auto;
  backdrop-filter: blur(10px);
}

.cancel-btn {
  background: linear-gradient(135deg, rgba(100, 116, 139, 0.12), rgba(148, 163, 184, 0.12)) !important;
  border: 2px solid rgba(100, 116, 139, 0.25) !important;
  color: #64748b !important;
  border-radius: 16px !important;
  padding: 14px 28px !important;
  font-weight: 600 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  backdrop-filter: blur(10px) !important;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
  letter-spacing: 0.3px !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 4px 12px rgba(100, 116, 139, 0.08) !important;
}

.cancel-btn::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
  transition: left 0.5s ease !important;
}

.cancel-btn:hover {
  background: linear-gradient(135deg, rgba(100, 116, 139, 0.2), rgba(148, 163, 184, 0.2)) !important;
  border-color: rgba(100, 116, 139, 0.4) !important;
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 8px 25px rgba(100, 116, 139, 0.2) !important;
}

.cancel-btn:hover::before {
  left: 100% !important;
}

.cancel-btn:active {
  transform: translateY(-1px) scale(0.98) !important;
  box-shadow: 0 4px 15px rgba(100, 116, 139, 0.15) !important;
}

.confirm-btn {
  background: linear-gradient(135deg, #10b981, #059669) !important;
  border: 2px solid rgba(16, 185, 129, 0.3) !important;
  color: white !important;
  border-radius: 16px !important;
  padding: 14px 32px !important;
  font-weight: 700 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4) !important;
  font-size: 14px !important;
  backdrop-filter: blur(10px) !important;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
  letter-spacing: 0.5px !important;
  position: relative !important;
  overflow: hidden !important;
}

.confirm-btn::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent) !important;
  transition: left 0.5s ease !important;
}

.confirm-btn:hover {
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 12px 35px rgba(16, 185, 129, 0.6) !important;
  background: linear-gradient(135deg, #059669, #047857) !important;
  border-color: rgba(16, 185, 129, 0.5) !important;
}

.confirm-btn:hover::before {
  left: 100% !important;
}

.confirm-btn:active {
  transform: translateY(-1px) scale(1.02) !important;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5) !important;
}

/* 动画效果 */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 响应式设计优化 */
@media (max-width: 480px) {
  .modal-content {
    margin: 5px;
    min-width: 380px;
    max-width: 90vw;
    max-height: 90vh;
    width: calc(100vw - 10px);
  }
  
  .custom-calendar {
    font-size: 0.9rem;
  }
  
  .calendar-day {
    padding: 8px 4px;
    font-size: 0.8rem;
  }
  
  .time-selectors {
    padding: 12px;
    gap: 6px;
  }
  
  .time-select {
    min-width: 50px;
    padding: 6px 8px;
    font-size: 0.8rem;
  }
}

@media (max-height: 600px) {
  .modal-content {
    max-height: 85vh;
  }
  
  .modal-body {
    max-height: 50vh;
  }
  
  .modal-header {
    padding: 12px 16px;
  }
  
  .modal-title {
    font-size: 15px;
  }
  
  .modal-close {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }
  
  .modal-body {
    padding: 12px 16px;
    max-height: 400px;
  }
  
  .date-input-section {
    margin-bottom: 12px;
  }
  
  .input-label {
    font-size: 13px;
    margin-bottom: 6px;
  }
  
  .date-picker-input .el-input__wrapper {
    padding: 10px 12px;
  }
  
  .calendar-section {
    margin-bottom: 12px;
  }
  
  .modal-calendar .el-calendar__header {
    padding: 8px 12px;
  }
  
  .modal-calendar .el-calendar__title {
    font-size: 14px;
  }
  
  .modal-calendar .el-calendar__button-group .el-button {
    font-size: 11px;
    padding: 3px 6px;
  }
  
  .modal-calendar .el-calendar-day {
    height: 32px;
    padding: 2px;
  }
  
  .calendar-day {
    font-size: 12px;
  }
  
  .calendar-holiday {
    font-size: 9px;
  }
  
  .quick-date-buttons {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  
  .quick-btn {
    padding: 8px 10px;
    font-size: 12px;
  }
  
  .quick-btn-icon {
    font-size: 14px;
  }
  
  .modal-footer {
    padding: 12px 16px;
  }
  
  .cancel-btn, .confirm-btn {
    padding: 8px 16px !important;
    font-size: 13px !important;
    min-width: 60px !important;
  }
}

.holiday-selector {
  text-align: center;
  margin: 15px 0;
}

.holiday-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 6px;
  margin-top: 8px;
  justify-content: center;
  justify-items: center;
  align-items: stretch;
  place-items: center;
}

.holiday-buttons .el-button {
  font-size: 0.8rem;
  padding: 6px 10px;
  width: 100%;
  max-width: 180px;
  min-width: 120px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  backdrop-filter: blur(10px);
  border-radius: 20px;
  font-weight: 500;
  transition: all 0.3s ease;
  justify-self: center;
}

.holiday-buttons .el-button:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

// 全局样式
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

// 限制所有datetime-local输入框的日历弹窗宽度
input[type="datetime-local"] {
  &::-webkit-calendar-picker-indicator {
    max-width: 20px;
  }
  
  // 确保日历弹窗不超出容器
  &:focus {
    position: relative;
    z-index: 9999;
  }
}

// 针对日历弹窗的全局样式
::-webkit-datetime-edit-fields-wrapper {
  max-width: 100% !important;
}

::-webkit-datetime-edit {
  max-width: 100% !important;
  overflow: hidden !important;
}

// 限制日历弹窗容器
.modal-content {
  position: relative;
  overflow: visible;
  
  input[type="datetime-local"] {
    position: relative;
    z-index: 1;
  }
}

:root {
  font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #0f0f0f;
  background-color: #f6f6f6;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

html {
  overflow: hidden;
}

.container {
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

h1 {
  text-align: center;
  margin: 0 0 15px 0;
  font-size: 1.8rem;
  font-weight: 300;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

h3 {
  text-align: center;
  margin: 0 0 10px 0;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

// 响应式设计
@media (max-height: 500px) {
  .modal-content {
    min-width: 320px;
    max-height: 90vw;
    margin: 5px;
  }
  
  .modal-header {
    padding: 16px 20px 12px;
  }
  
  .modal-title {
    font-size: 1.3rem;
  }
  
  .modal-body {
    padding: 16px 20px;
  }
  
  .date-input-section {
    margin-bottom: 20px;
  }
  
  .quick-date-buttons {
    gap: 8px;
  }
  
  .quick-btn {
    padding: 12px 16px;
    font-size: 0.85rem;
  }
  
  .modal-footer {
    padding: 12px 20px 16px;
    gap: 8px;
  }
  
  .cancel-btn, .confirm-btn {
    padding: 8px 16px !important;
    font-size: 0.85rem !important;
  }
  .countdown-app {
    padding: 8px 5px;
  }
  
  .countdown-display {
    margin: 8px 0;
    gap: 6px;
  }
  
  .countdown-number {
    font-size: 1.8rem;
  }
  
  .countdown-text {
    font-size: 0.8rem;
  }
  
  .target-date-info {
    margin: 8px 0;
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  
  h1 {
    font-size: 1.4rem;
    margin: 0 0 8px 0;
  }
  
  .action-buttons {
    margin: 8px 0;
    gap: 6px;
  }
  
  .action-buttons .el-button {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
  
  .holiday-selector {
    margin: 10px 0;
  }
  
  .holiday-buttons {
    gap: 4px;
  }
  
  .holiday-buttons .el-button {
    font-size: 0.75rem;
    padding: 4px 8px;
    min-width: 100px;
  }
}

@media (max-width: 380px) {
  .modal-content {
    min-width: 280px;
    max-width: 95vw;
    margin: 10px;
  }
  
  .modal-header {
    padding: 16px 18px 12px;
  }
  
  .modal-title {
    font-size: 1.2rem;
  }
  
  .modal-body {
    padding: 16px 18px;
  }
  
  .date-picker-input .el-input__wrapper {
    padding: 12px 14px;
  }
  
  .quick-date-buttons {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .quick-btn {
    padding: 14px 16px;
    font-size: 0.9rem;
  }
  
  .modal-footer {
    padding: 12px 18px 16px;
    flex-direction: column;
    gap: 8px;
  }
  
  .cancel-btn, .confirm-btn {
    width: 100% !important;
    padding: 12px 16px !important;
    font-size: 0.9rem !important;
  }
  
  .countdown-app {
    padding: 10px 5px;
  }
  
  .countdown-value {
    font-size: 1.6rem;
    padding: 6px 8px;
    min-width: 40px;
  }
  
  .countdown-separator {
    font-size: 1.6rem;
  }
  
  .action-buttons {
    flex-direction: column;
    gap: 8px;
  }
  
  .action-buttons .el-button {
    width: 100%;
    padding: 8px 12px;
    font-size: 0.8rem;
  }
  
  .holiday-buttons {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
  }
  
  .holiday-buttons .el-button {
    font-size: 0.7rem;
    padding: 4px 6px;
    min-width: auto;
  }
}

// 隐藏其他模式样式
.countdown-app.hide-others-mode {
  height: 100px !important;
  min-height: 100px !important;
  max-height: 100px !important;
  padding: 10px !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  
  .countdown-display {
    margin: 0 !important;
    gap: 15px !important;
    
    .countdown-number {
      font-size: 3rem !important;
      font-weight: 700 !important;
    }
    
    .countdown-text {
      font-size: 0.8rem !important;
    }
  }
  
  
  .action-buttons {
    position: absolute;
    top: 5px;
    right: 5px;
    
    .el-button {
      padding: 2px 4px !important;
      font-size: 10px !important;
      min-height: 20px !important;
      border-radius: 3px !important;
      
      &.show-all-btn {
        background: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        color: rgba(255, 255, 255, 0.8) !important;
        
        &:hover {
          background: rgba(255, 255, 255, 0.2) !important;
        }
      }
    }
  }
}

// 深色模式
@media (prefers-color-scheme: dark) {
  :root {
    color: #f6f6f6;
    background-color: #2f2f2f;
  }
  
  .countdown-app {
    background-color: #333;
    color: #f6f6f6;
  }
  
  .countdown-value {
    background-color: #444;
    color: #fff;
  }
  
  .countdown-label {
    color: #ccc;
  }
  
  .settings-panel {
    background-color: #3a3a3a;
  }
}